#encoding:utf-8
from app import create_app, db
import os

# 获取环境变量
ENV = os.getenv("ENV") or "default"

app = create_app(ENV)

if __name__ == "__main__":
    app.run()